package top.pengdong.pictureShare.tweet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * 文章转发点赞收藏记录
 * 
 * @author chenshun
 * @email pengshi12138@outlook.com
 * @date 2022-04-25 16:55:46
 */
@Data
@TableName("ps_tweet_like_forward")
public class PsTweetLikeForwardEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一主键
	 */
	@TableId
	private Long id;
	/**
	 * 文章id
	 */
	private Long tweetId;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 类型 0是点赞-1是转发-2是收藏
	 */
	private Integer type;
	/**
	 * 启用状态
	 */
	@TableLogic
	@JsonIgnore
	private Integer status;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	@JsonIgnore
	private Date updateTime;

}
